home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
bbsutil
/
ckit210.zip
/
HISTORY
< prev
next >
Wrap
Text File
|
1991-12-22
|
29KB
|
661 lines
RELEASE HISTORY
===============
12-15-91 v2.10
- Changed the way CKIT was handling the speaker beep
on keyboard timeout beeps.
- Added ck_NOSYSTEM. When TRUE, tells CKIT open_door() not
not to expect a filename but a pointer to a structure
for it's information. The structure is typed in ckit.h as
typedef struct ckitgeneric {
char port[6]; /* COM:X COM0: equals local */
short min_left; /* minutes left */
};
This will allow your door program to read any BBS system file
and pass the information CKIT needs thru the structure.
open_door() will still accept the port:AAAA:X.
If you don't need this, then no changes are necassary in your source
code. However, if you would like make your door compatible with a
BBS system that CKIT does not support (such as WWIV), then you
can read the WWIV file, fill in the appropriate CKIT variables
(ck_fullname, ck_ckit, etc) and the ckitgeneric structure with
the port and minutes left. Then set CK_NOSYSTEM = TRUE, and call
open_door(). You should fill in ck_fullname, ck_baud etc before
you call open_door() so that the status line will contain the
proper information. If you don't, it won't hurt anything and
CKIT will pick it anyway the next time it updates the status line.
(either after one minute or by typing ALT-H to scroll thru).
Be careful you pay attention to the size of the CKIT arrays that
you will be filling in and you don't exceed them. For instance,
ck_fullname is declared as ck_fullname[26] (including null).
Check the docs for the size/types of the variables.
- Added ck_NO_FKEYS. When TRUE it will disable the local
sysop keyboard F-keys and ALT keys except for ALT-H.
Default is FALSE. (F-keys enabled)
- Change set_kybd_time() so that each call to it zeros the
present keyboard timer time
- A big one here. I think I finally tracked down the cause
of CKIT suddenly hanging at times up while transmitting
for no reason while it was apprently waiting on CTS when
CTS was OK. I finally managed to duplicate it repeatly and
found the cause.
- Fix a bug were a if you specified USERSFILE=TRUE and there
was an error opening the users file, it trashed a register
internally that shouldn't have gotten trashed. Under normal
conditions it would not have affected anything. (if the users
file was opened OK).
- If Ckit finds a generic.sys file in use, it will no longer ask
for the person's first and last name. You will have to add this
to your program to do so. i.e.
if(GENERIC) {
newline();
s_puts("Please enter first and last name (MAX 25) ->");
get_cmdline_raw(45);
strncpy(fullname, cmdline, 25);
}
- New variable added called short ck_silent. This variable when TRUE
will prevent keyboard timeout beeps from being sent to the local
console. It can be set/reset manual thru your program and it will
also following the setting of F7 for PCBoard systems. (caller alarm toggle).
- Fixed some ANSI strings in the library so that it will no longer
attempt to set background color to black. This should make things
a little easier for people using background colors other than black
and will allow you to only change the foreground colors (leaving the
background alone) when using ck_color();.
- Ckit was not always picking the node number up correctly from
DORINFOx.DEF files. (x being the node number). Fixed.
09-25-91 v2.08
- Changed ck_DOTS operation.
Setting ck_DOTS = char will cause char to be echoed to the
remote/local console. ck_DOTS = NULL cancels.
- ck_system_time_used() was prototyped incorrectly in ckit.h
as ck_system_time_left(). Fixed.
- Some variables in ckit.h did not have the "ck_" prefixed
to the variable name. Fixed.
- Added support to MBBS systems. (PCBoard clone found in largely Europe).
- Changed ck_set_ANSI() to accept TRUE/FALSE (short) depending
whether or not the user wanted to turn ANSI compability ON or OFF.
The previous ck_set_ANSI() toggled this setting. The prototype
for ck_set_ANSI is now - short ck_set_ANSI(short) where the short
is either TRUE/FALSE. (1 or 0). It returns whatever you pass it.
Why is this routine necassary? When C-kit first opens a system file
it determines from the file whether the wanted the user wants
ANSI control, (ansi_NG will be set, GRAPHICS FALSE) OR if they wanted
ANSI control with graphics (ansi_NG false, GRAPHICS TRUE). To save
code size and execution time in the internal library rountines
(such as ck_pos_cursor etc) , there is only one internal variable
that C-kit checks to see if ANSI was desired. This routine only becomes
necassary when a user of your door is using generic.sys. The
generic.sys has no way of knowing whether the user wanted ANSI or
has ANSI selected. If the door program detects that a generic.sys
file is being used, it should then stop and ask if the user desires
ANSI control and if the user wants ANSI control with color.
set ansi_ng TRUE, graphics FALSE and ck_set_ANSI(TRUE) (ansi w/o color)
set ansi_ng FALSE, graphics TRUE and ck_set_ANSI(TRUE) (ansi w/color)
set ansi_ng FALSE, graphics FALSE and ck_set_ANSI(FALSE) (no ansi)
Notice that ck_set_ANSI() is the logical OR'ing of the other two
variables (ansi_ng and graphics) which is what C-kit does at the
begining of a door. That way instead of doing this each time
routines such as ck_pos_cursor() etc.. is called it only has to
check one variable making the code smaller and faster.
- Changed ck_dos_shell() to use the spawnlp() funtion in C.
The syntax for ck_dos_shell() has changed. It is now
prototyped as ck_dos_shell(char *, char *); where
the 1st string pointer is the program to execute and
the 2nd string pointer is the command line arguments
to be passed to the program. Example taken from
CKITDEMO.C. It should return an error level correctly
now reguardless of which compiler you are using.
The max. DOS limit for the length of cmd line arguments
is 128 chars so the 2nd string pointer should not exceed this.
void filexfer(void) {
sprintf(zmodem_cmds, "portx %X,%X pB4096 pa3000 handshake cts sz %s", \
uart_base, irq, doc_filename);
if(dos_shell("dsz", zmodem_cmds)) {
s_puts("\n\aTransfer aborted");
} else {
s_puts("\nTransfer complete");
}
- There was a minor change in the ckit.h file under the
users structure. Added user.packed_byte after user.protocol.
This location had not been used in previos PCBoard releases.
Changed ck_user.last_read to ck_user.last_read[39] in
user file structure.
- Yes, Gary, you no longer have to use word alignment when using
the user structure or ck_update_user() function!. This means
also that Microsoft C users will need to add the Zp1 switch
on the command line. Zp1 tells MSC to pack structures on
1 (BYTE) bounderies.
08-18-91 v2.0
- It is not necassary to use WORD alignment EXCEPT if you
plan on using the user structure or the update_user() function.
Otherwise, BYTE or WORD alignment should work OK.
- Added the short ck_system_time_used(void); function.
- ALL ckit's variables/functions now begin with the letters "ck_"
See upgrade file.
- Added ck_DOTS. This will cause dots "." to be echoed to
the screen when true and using one of the keyboard inputs.
- Fixed fullname so that it will display more than 2 names for
PCBboard 14.5.
- Ckit will no longer exit your program on it's own. If open_door()
fails, it will now return an error code based what the problem it
had. If open_door() is successful, it will return a NULL.
The error codes are as follows:
==========